home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / internet / sweeper / samples / asyncstg / barrfact.h < prev    next >
C/C++ Source or Header  |  1995-12-02  |  520b  |  20 lines

  1. #ifndef _BYTEARRAYWRAPPERFACTORY_INCLUDE
  2. #define _BYTEARRAYWRAPPERFACTORY_INCLUDE
  3.  
  4. #include "ole2.h"
  5.  
  6. class CAsyncByteArrayFactory : public IClassFactory {
  7. public:
  8.     HRESULT _stdcall QueryInterface(REFIID riid, void** ppObject);
  9.     ULONG    _stdcall AddRef();
  10.     ULONG    _stdcall Release();
  11.     HRESULT _stdcall CreateInstance(IUnknown *pUnkOuter, REFIID riid, void** ppObject);
  12.     HRESULT    _stdcall LockServer(BOOL fLock);
  13.  
  14.     CAsyncByteArrayFactory::CAsyncByteArrayFactory();
  15. private:
  16.     ULONG m_dwRefCount;
  17. };
  18.  
  19. #endif
  20.